import axios from '@/util/request.js'


export function getlist(data){
    return axios.post("sickroom/findAll",data);
}
export function save(data){
    return axios.post("sickroom/save",data);
}
export function update(data){
    return axios.post("sickroom/update",data);
}
export function changeStatus(id){
    return axios.post("sickroom/changeStatus",id,axios.textConfig);
}
export function search(data){
    return axios.post("sickroom/search",data);
}